package com.springboot.thymeleaf.springbootthymeleaf.lianxi;

import java.util.ArrayList;
import java.util.List;

/**
 * @Classname ${小柯}
 * @Description TODO
 * @Date 2019/10/8 18:11
 * @Created by Administrator
 */
public class lianxi {


    public static void main(String[] args) {


        List list = new ArrayList();
        list.add("111");


        String aa = listOne(list);
        System.out.println(aa);



    }

    private static String listOne(List list) {

        StringBuffer sb = new StringBuffer();
        sb.append("0123456789").append(",");
        System.out.println(sb.length());
        String s = sb.substring(0,0).toString();

        return  s;
    }

}


